﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GDModel.Model
{
    public class Role
    {
        //序号
        private int id;
        public int Id { get { return id; } set { id = value; } }

        //血量
        private int health;
        public int Health { get { return health; } set { health = value; } }

        //攻击
        private int attack;
        public int Attack { get { return attack; } set { attack = value; } }

        //防御
        private int defense;
        public int Defense { get { return defense; } set { defense = value; } }

        //受到的伤害
        private int hurt;
        public int Hurt { get { return hurt; } set { hurt = value; } }



        public Role(int id,int health, int attack, int defense)
        {
            this.id = id;
            this.health = health;
            this.attack = attack;
            this.defense = defense;
        }
    }
}
